package com.beadhouse.customer.service;



import java.util.List;

import com.beadhouse.customer.ao.CustomerAo;
import com.beadhouse.entity.CustomerEntity;
import com.github.pagehelper.PageInfo;

public interface CustomerService {
    public void addCustomer(CustomerAo ao)throws Exception;//增加用户
	
	public void updateCustomer(CustomerAo ao)throws Exception;//修改用户信息
	
	
	
	public  CustomerEntity selectCutomerOne(CustomerAo ao)throws Exception;//通过id查询用户
	
	public  List<CustomerEntity> selectCustomerList(CustomerAo ao)throws Exception;//查询所有

	void retreatCustomer(CustomerAo ao) throws Exception;//逻辑删除用户

	public PageInfo<CustomerEntity> selectCustomerList1(CustomerAo ao, String pageNo) throws Exception;//查询所有可分页
	public void deleteCustomer(CustomerAo ao)throws Exception;
	
}
